three conditional statements in php